<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<table>
<thead>
<tr>
<th>模型名称</th>
<th>模型属性</th>
</tr>
</thead>
<tbody>
<tr>
<td>{tp:$model_data[model_name]}</td>
<td>
<volist name="base_spec" id="row">
<input type="checkbox" value="{tp:$row['id']}" />{tp:$row['spec_name']}
<?php if(array_key_exists($row[id],$data))
{
echo  'checked="checked"';
}
?>
</volist>
</td>
</tr>
</tbody>
</table>
</body>
</html>